﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BranchViewUserControl.ascx.cs" Inherits="com.stifel.BranchMgmt.WebParts.BranchView.BranchViewUserControl" %>
<%--START: CSS and JS --%>
<link type="text/css" rel="Stylesheet" media="all" href="/_layouts/com.stifel.BranchMgmt/stylesheets/style.css" />
<script language="javascript" type="text/javascript" src="/_layouts/com.stifel.BranchMgmt/scripts/jquery-1.4.1.min.js"></script>
<script language="javascript" type="text/javascript" src="/_layouts/com.stifel.BranchMgmt/scripts/jquery-base64encoding.js"></script>
<script language="javascript" type="text/javascript" src="/_layouts/com.stifel.BranchMgmt/scripts/jquery-custom.js"></script>
<script language="javascript" type="text/javascript" src="/_layouts/com.stifel.BranchMgmt/scripts/js-custom.js"></script>
<script language="javascript" type="text/javascript">
// <![CDATA[
    function resizeView() {
        resizeHardware();
        resizePersonnel();
        resizePhone();
        resizeNetwork();
    }

    var HARDWARE_REPEATERLIST = '#<%= uiHardware_Repeater.ClientID %>';
    var HARDWARE_REPEATERHEADER = '#uiHardware_RepeaterHeader';
    function resizeHardware() {
        if (document) {
            var o = $(HARDWARE_REPEATERLIST).ele();
            if (o) {
                $(HARDWARE_REPEATERHEADER).width(o.clientWidth);
            }
        }
    }
    var PERSONNEL_REPEATERLIST = '#<%= uiPersonnel_Repeater.ClientID %>';
    var PERSONNEL_REPEATERHEADER = '#uiPersonnel_RepeaterHeader';
    function resizePersonnel() {
        if (document) {
            var o = $(PERSONNEL_REPEATERLIST).ele();
            if (o) {
                $(PERSONNEL_REPEATERHEADER).width(o.clientWidth);
            }
        }
    }
    var PHONE_REPEATERLIST = '#<%= uiPhone_Repeater.ClientID %>';
    var PHONE_REPEATERHEADER = '#uiPhone_RepeaterHeader';
    function resizePhone() {
        if (document) {
            var o = $(PHONE_REPEATERLIST).ele();
            if (o) {
                $(PHONE_REPEATERHEADER).width(o.clientWidth);
            }
        }
    }
    var NETWORK_REPEATERLIST = '#<%= uiNetwork_Repeater.ClientID %>';
    var NETWORK_REPEATERHEADER = '#uiNetwork_RepeaterHeader';
    function resizePhone() {
        if (document) {
            var o = $(NETWORK_REPEATERLIST).ele();
            if (o) {
                $(NETWORK_REPEATERHEADER).width(o.clientWidth);
            }
        }
    }
    $(window).resize(function () {
        resizeView();
    });
// ]]>
</script>
<style type="text/css">
    
</style>
<%--END: CSS and JS --%>
<%--START: http://msdn.microsoft.com/en-us/library/ee231545.aspx--%>
<asp:HiddenField ID="SharePoint_Project_FileNameWithoutExtension" Value="$SharePoint.Project.FileNameWithoutExtension$"
    runat="server" />
<asp:HiddenField ID="SharePoint_Project_AssemblyFullName" Value="$SharePoint.Project.AssemblyFullName$"
    runat="server" />
<asp:HiddenField ID="SharePoint_ProjectItem_Name" Value="$SharePoint.ProjectItem.Name$"
    runat="server" />
<%--END: http://msdn.microsoft.com/en-us/library/ee231545.aspx--%>
<asp:UpdatePanel ID="uiAjax" runat="server" UpdateMode="Always">
    <ContentTemplate>
        <asp:Panel ID="uiSummrizedInfo" runat="server">
        </asp:Panel>
        <asp:Panel ID="uiInfo" runat="server">
            <div id="uiNavigation" runat="server">
                <asp:Button ID="uiBtnBasics" Text="Basics" runat="server" CommandArgument="uiBasics"
                    OnClick="uiNavigationTab_Click" ToolTip="Basic Branch Information" CssClass="t" />
                <asp:Button ID="uiBtnPersonnel" Text="Personnel" runat="server" CommandArgument="uiPersonnel"
                    OnClick="uiNavigationTab_Click" ToolTip="Branch Personnel" CssClass="t" OnClientClick="resizePersonnel();" />
                <asp:Button ID="uiBtnHardware" Text="Hardware" runat="server" CommandArgument="uiHardware"
                    OnClick="uiNavigationTab_Click" ToolTip="Hardware" CssClass="t" OnClientClick="resizeHardware();" />
                <asp:Button ID="uiBtnPhone" Text="Telephone System" runat="server" CommandArgument="uiPhone"
                    OnClick="uiNavigationTab_Click" ToolTip="Telephone Systems" CssClass="t" OnClientClick="resizePhone();" />
                <asp:Button ID="uiBtnNetwork" Text="Network" runat="server" CommandArgument="uiNetwork"
                    OnClick="uiNavigationTab_Click" ToolTip="Network" CssClass="t" OnClientClick="resizeNetwork();" />
                <asp:Button ID="uiBtnUpdates" Text="Updates" runat="server" CommandArgument="uiUpdates"
                    OnClick="uiNavigationTab_Click" ToolTip="Updates" CssClass="t" />
                <asp:Button ID="uiBtnLease" Text="Branch Lease" runat="server" CommandArgument="uiLease"
                    OnClick="uiNavigationTab_Click" ToolTip="Branch Lease" CssClass="t" />
                <asp:Button ID="uiBtnPhotos" Text="Photos and Images" runat="server" CommandArgument="uiPhotos"
                    OnClick="uiNavigationTab_Click" ToolTip="Photos and Images" CssClass="t" />
            </div>
            <asp:MultiView ID="uiView" runat="server" OnLoad="uiView_OnLoad">
                <asp:View ID="uiLease" runat="server" OnActivate="uiLease_Activate" OnDeactivate="uiLease_Deactivate">
                    <div id="uiDivLease" style="height: 440px; overflow: auto;">
                        <table>
                            <tr>
                                <td style="width: 20%;">
                                    <asp:Label ID="uiLblLeaseExpires" Text="Lease Expires:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td style="width: 80%;">
                                    <asp:Label ID="uiLeaseExpires" runat="server" CssClass="ms-vb" />
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 20%;">
                                    <asp:Label ID="uiLblLeaseDocuments" Text="Documents:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td style="width: 80%;">
                                    <asp:PlaceHolder ID="uiLeaseDocuments" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </asp:View>
                <asp:View ID="uiPhotos" runat="server" OnActivate="uiPhotos_Activate" OnDeactivate="uiPhotos_Deactivate">
                    <div id="uiDivPhotos" style="height: 440px; overflow: auto;">
                        <asp:PlaceHolder ID="uiPhoto" runat="server"></asp:PlaceHolder>
                    </div>
                </asp:View>
                <asp:View ID="uiBasics" runat="server" OnActivate="uiBasics_Activate" OnDeactivate="uiBasics_Deactivate">
                    <div id="uiDivBasics" style="height: 390px;">
                        <table>
                            <tr>
                                <td style="width: 20%;">
                                    <asp:Label ID="uiLblBranchId" Text="Branch ID:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td style="width: 25%;">
                                    <asp:Label ID="uiBranchId" runat="server" CssClass="ms-vb" />
                                </td>
                                <td valign="top" rowspan="3">
                                    <asp:Label ID="uiLblAddress" Text="Address:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td valign="top" rowspan="3">
                                    <asp:PlaceHolder ID="uiAddress" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 20%;">
                                    <asp:Label ID="uiLblSiteId" Text="Site ID:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td style="width: 25%;">
                                    <asp:Label ID="uiSiteId" runat="server" CssClass="ms-vb" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="uiLblSpeedDial" Text="Speed Dial:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td>
                                    <asp:Label ID="uiSpeedDial" runat="server" CssClass="ms-vb" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="uiLblThompsonIdPrefix" Text="Thompson ID (prefix):" runat="server"
                                        CssClass="ms-vb" />
                                </td>
                                <td>
                                    <asp:Label ID="uiThompsonIdPrefix" runat="server" CssClass="ms-vb" />
                                </td>
                                <td>
                                    <asp:Label ID="uiLblTimeZone" Text="Time Zone:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td>
                                    <asp:Label ID="uiTimeZone" runat="server" CssClass="ms-vb" />
                                </td>
                            </tr>
                            <tr>
                                <td valign="top">
                                    <asp:Label ID="uiLblBroadcastIp" Text="Broadcast IPs:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td valign="top">
                                    <asp:Label ID="uiBroadcastIp" runat="server" CssClass="ms-vb" />
                                </td>
                                <td>
                                    <asp:Label ID="uiLblBranchType" Text="Branch Type:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td>
                                    <asp:Label ID="uiBranchType" runat="server" CssClass="ms-vb" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="uiLblPriceServer" Text="Price Server:" runat="server" CssClass="ms-vb" />
                                </td>
                                <td>
                                    <asp:Label ID="uiPriceServer" runat="server" CssClass="ms-vb" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                        <table>
                            <tr>
                                <td>
                                    <asp:Repeater ID="uiBusinessUnit_Repeater" runat="server">
                                        <HeaderTemplate>
                                            <table>
                                                <tr>
                                                    <td style="width: 20%; padding-left: 2px;">
                                                        <h5 class="ms-standardheader ms-WPTitle">
                                                            Business Unit</h5>
                                                    </td>
                                                    <td style="width: 10%; padding-left: 2px;">
                                                        <h5 class="ms-standardheader ms-WPTitle">
                                                            ORG</h5>
                                                    </td>
                                                    <td style="width: 10%; padding-left: 2px;">
                                                        <h5 class="ms-standardheader ms-WPTitle">
                                                            Wire Cd</h5>
                                                    </td>
                                                    <td style="width: 10%; padding-left: 2px;">
                                                        <h5 class="ms-standardheader ms-WPTitle">
                                                            Check Cd</h5>
                                                    </td>
                                                    <td style="width: 10%; padding-left: 2px;">
                                                        <h5 class="ms-standardheader ms-WPTitle">
                                                            Dest Cd</h5>
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr class="alt-background-color">
                                                <td class="ms-vb" style="width: 20%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "BusinessUnit" ) %>
                                                    </div>
                                                </td>
                                                <td class="ms-vb" style="width: 10%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "ORG" ) %>
                                                    </div>
                                                </td>
                                                <td class="ms-vb" style="width: 10%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "WireCode" ) %>
                                                    </div>
                                                </td>
                                                <td class="ms-vb" style="width: 10%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "CheckCode" ) %>
                                                    </div>
                                                </td>
                                                <td class="ms-vb" style="width: 10%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "DestCode" ) %>
                                                    </div>
                                                </td>
                                                <asp:HiddenField ID="uiHiddenGuid" runat="server"  Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td class="ms-vb" style="width: 20%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "BusinessUnit" ) %>
                                                    </div>
                                                </td>
                                                <td class="ms-vb" style="width: 10%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "ORG" ) %>
                                                    </div>
                                                </td>
                                                <td class="ms-vb" style="width: 10%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "WireCode" ) %>
                                                    </div>
                                                </td>
                                                <td class="ms-vb" style="width: 10%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "CheckCode" ) %>
                                                    </div>
                                                </td>
                                                <td class="ms-vb" style="width: 10%;">
                                                    <div style="word-break: break-all;">
                                                        <%# DataBinder.Eval( Container.DataItem, "DestCode" ) %>
                                                    </div>
                                                </td>
                                                <asp:HiddenField ID="uiHiddenGuid" runat="server"  Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                            </tr>
                                        </AlternatingItemTemplate>
                                        <FooterTemplate>
                                            </table>
                                        </FooterTemplate>
                                    </asp:Repeater>
                                </td>
                            </tr>
                        </table>
                    </div>
                </asp:View>
                <asp:View ID="uiPersonnel" runat="server" OnActivate="uiPersonnel_Activate" OnDeactivate="uiPersonnel_Deactivate">
                    <div id="uiPersonnel_RepeaterHeader" style="overflow: hidden; padding-bottom: 0px;">
                        <table style="width: 100%; border-spacing: 0px; table-layout: fixed;">
                            <tr>
                                <td style="width: 25%; padding-left: 2px;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Name
                                    </h5>
                                </td>
                                <td style="width: 10%;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Type
                                    </h5>
                                </td>
                                <td style="width: 15%;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        <div style="word-break: break-all;">
                                            Telephone/Fax</div>
                                    </h5>
                                </td>
                                <td style="width: 50%; padding-left: 0px;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Note
                                    </h5>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="uiPersonnel_RepeaterList" style="overflow: auto; height: 390px; padding-top: 0px;">
                        <div id="uiPersonnel_RepeaterInternal">
                            <asp:Repeater ID="uiPersonnel_Repeater" runat="server"
                                OnItemDataBound="uiPersonnel_ItemDataBound">
                                <HeaderTemplate>
                                    <table border="0" cellpadding="2" cellspacing="0" style="width: 100%; table-layout: fixed;">
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr class="alt-background-color">
                                        <td class="ms-vb" style="width: 25%;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Name" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 10%; padding-left: 5px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Type" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 15%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "TelephoneFax" ) %>
                                        </td>
                                        <td class="ms-vb" style="width: 50%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Note" ) %>
                                            </div>
                                            <asp:HiddenField ID="uiPersonnel_Value" runat="server" Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <tr>
                                        <td class="ms-vb" style="width: 25%;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Name" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 10%; padding-left: 5px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Type" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 15%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "TelephoneFax" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 50%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Note" ) %>
                                            </div>
                                            <asp:HiddenField ID="uiPersonnel_Value" runat="server" Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                        </td>
                                    </tr>
                                </AlternatingItemTemplate>
                                <FooterTemplate>
                                    </table>
                                </FooterTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                </asp:View>
                <asp:View ID="uiHardware" runat="server" OnActivate="uiHardware_Activate" OnDeactivate="uiHardware_Deactivate">
                    <div id="uiHardware_RepeaterHeader" style="overflow: hidden; padding-bottom: 0px;">
                        <table style="width: 100%; border-spacing: 0px; table-layout: fixed;">
                            <tr>
                                <td style="width: 25%; padding-left: 2px;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Item
                                    </h5>
                                </td>
                                <td style="width: 10%;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Type
                                    </h5>
                                </td>
                                <td style="width: 15%;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        <div style="word-break: break-all;">
                                            Scheduled Maintenance</div>
                                    </h5>
                                </td>
                                <td style="width: 50%; padding-left: 0px;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Note
                                    </h5>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="uiHardware_RepeaterList" style="overflow: auto; height: 390px; padding-top: 0px;">
                        <div id="uiHardware_RepeaterInternal">
                            <asp:Repeater ID="uiHardware_Repeater" runat="server"
                                OnItemDataBound="uiHardware_ItemDataBound">
                                <HeaderTemplate>
                                    <table border="0" cellpadding="2" cellspacing="0" style="width: 100%; table-layout: fixed;">
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr class="alt-background-color">
                                        <td class="ms-vb" style="width: 25%;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Title" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 10%; padding-left: 5px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Type" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 15%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "ScheduledMaintenance" ) %>
                                        </td>
                                        <td class="ms-vb" style="width: 50%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Note" ) %>
                                            </div>
                                            <asp:HiddenField ID="uiHardware_Value" runat="server" Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <tr>
                                        <td class="ms-vb" style="width: 25%;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Title" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 10%; padding-left: 5px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Type" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 15%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "ScheduledMaintenance" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 50%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Note" ) %>
                                            </div>
                                            <asp:HiddenField ID="uiHardware_Value" runat="server" Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                        </td>
                                    </tr>
                                </AlternatingItemTemplate>
                                <FooterTemplate>
                                    </table>
                                </FooterTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                </asp:View>
                <asp:View ID="uiPhone" runat="server" OnActivate="uiPhone_Activate" OnDeactivate="uiPhone_Deactivate">
                    <div id="uiPhone_RepeaterHeader" style="overflow: hidden; padding-bottom: 0px;">
                        <table style="width: 100%; border-spacing: 0px; table-layout: fixed;">
                            <tr>
                                <td style="width: 25%; padding-left: 2px;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Item
                                    </h5>
                                </td>
                                <td style="width: 10%;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        <div style="word-break: break-all;">
                                            Contract Expires</div>
                                    </h5>
                                </td>
                                <td style="width: 15%;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        <div style="word-break: break-all;">
                                            Circuit ID</div>
                                    </h5>
                                </td>
                                <td style="width: 50%; padding-left: 0px;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Note
                                    </h5>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="uiPhone_RepeaterList" style="overflow: auto; height: 390px; padding-top: 0px;">
                        <div id="uiPhone_RepeaterInternal">
                            <asp:Repeater ID="uiPhone_Repeater" runat="server"
                                OnItemDataBound="uiPhone_ItemDataBound">
                                <HeaderTemplate>
                                    <table border="0" cellpadding="2" cellspacing="0" style="width: 100%; table-layout: fixed;">
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr class="alt-background-color">
                                        <td class="ms-vb" style="width: 25%;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Item" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 10%; padding-left: 5px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Contract" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 15%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "CircuitID" ) %>
                                        </td>
                                        <td class="ms-vb" style="width: 50%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Note" ) %>
                                            </div>
                                            <asp:HiddenField ID="uiPersonnel_Value" runat="server" Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <tr>
                                        <td class="ms-vb" style="width: 25%;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Item" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 10%; padding-left: 5px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Contract" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 15%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "CircuitID" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 50%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Note" ) %>
                                            </div>
                                            <asp:HiddenField ID="uiPersonnel_Value" runat="server" Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                        </td>
                                    </tr>
                                </AlternatingItemTemplate>
                                <FooterTemplate>
                                    </table>
                                </FooterTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                </asp:View>
                <asp:View ID="uiNetwork" runat="server" OnActivate="uiNetwork_Activate" OnDeactivate="uiNetwork_Deactivate">
                    <div id="uiNetwork_RepeaterHeader" style="overflow: hidden; padding-bottom: 0px;">
                        <table style="width: 100%; border-spacing: 0px; table-layout: fixed;">
                            <tr>
                                <td style="width: 25%; padding-left: 2px;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Item
                                    </h5>
                                </td>
                                <td style="width: 10%;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        <div style="word-break: break-all;">
                                            IP Subnet</div>
                                    </h5>
                                </td>
                                <td style="width: 15%;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        <div style="word-break: break-all;">
                                            Circuit ID</div>
                                    </h5>
                                </td>
                                <td style="width: 50%; padding-left: 0px;">
                                    <h5 class="ms-standardheader ms-WPTitle">
                                        Note
                                    </h5>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="uiNetwork_RepeaterList" style="overflow: auto; height: 390px; padding-top: 0px;">
                        <div id="uiNetwork_RepeaterInternal">
                            <asp:Repeater ID="uiNetwork_Repeater" runat="server">
                                <HeaderTemplate>
                                    <table border="0" cellpadding="2" cellspacing="0" style="width: 100%; table-layout: fixed;">
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr class="alt-background-color">
                                        <td class="ms-vb" style="width: 25%;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Item" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 10%; padding-left: 5px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "IPSubnet" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 15%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "CircuitID" ) %>
                                        </td>
                                        <td class="ms-vb" style="width: 50%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Note" ) %>
                                            </div>
                                            <asp:HiddenField ID="uiPersonnel_Value" runat="server" Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <tr>
                                        <td class="ms-vb" style="width: 25%;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Item" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 10%; padding-left: 5px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "IPSubnet" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 15%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "CircuitID" ) %>
                                            </div>
                                        </td>
                                        <td class="ms-vb" style="width: 50%; padding-left: 7px;">
                                            <div style="word-break: break-all;">
                                                <%# DataBinder.Eval( Container.DataItem, "Note" ) %>
                                            </div>
                                            <asp:HiddenField ID="uiPersonnel_Value" runat="server" Value='<%# DataBinder.Eval( Container.DataItem, "value" ) %>' />
                                        </td>
                                    </tr>
                                </AlternatingItemTemplate>
                                <FooterTemplate>
                                    </table>
                                </FooterTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                </asp:View>
                <asp:View ID="uiUpdates" runat="server" OnActivate="uiUpdates_Activate" OnDeactivate="uiUpdates_Deactivate">
                    <div id="uiDivUpdates" style="height: 390px;">
                        <asp:PlaceHolder ID="uiUpdate" runat="server" />
                    </div>
                </asp:View>
                <asp:View ID="uiUnknown" runat="server">
                    <asp:Panel ID="Panel2" runat="server" GroupingText="Unknown Request">
                        <asp:Literal ID="Literal1" Text="Unknown area requested." runat="server" />
                    </asp:Panel>
                </asp:View>
            </asp:MultiView>
        </asp:Panel>
    </ContentTemplate>
</asp:UpdatePanel>